const { ccclass, property } = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {

    start() {
        if (cc.sys.os === cc.sys.OS_ANDROID) {
            jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "removeLaunchImage", "()V");
        }
        cc.director.preloadScene("Main");
        this.scheduleOnce(() => {
            cc.director.loadScene("Main");
        }, 1);
    }

    // update (dt) {}
}
